﻿namespace OpenAdmin.Application.Services
{
    /// <summary>
    /// 用户身份信息
    /// </summary>
    public class UserIdentity
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string Avatar { get; set; }

        /// <summary>
        /// 是否为超级管理员
        /// </summary>
        public bool HasSuperAdmin { get; set; }
    }
}
